export type MessageStatus = 'pending' | 'complete' | 'error'

export interface MessageI {
  id?: string
  role: 'user' | 'assistant'
  content: string
  status: MessageStatus
  timestamp: number
}

export interface ChatRequestI{
  model: string,
  messages: MessageI[],
  max_length: number,
}

export interface ChatSessionI {
  id: string
  title: string
  messages: MessageI[]
  createdAt: number
  updatedAt: number
} 